import { Provider } from "mobx-react";
import * as React from "react";
import "./App.css";
import { createStore } from "./mobx/CreateStore";
import UserInfo from "./views/UserInfo";

const stores = createStore("孙士雄");

class App extends React.Component {
  public render() {
    return (
      <Provider {...stores}>
        <div className="App">
          <UserInfo />
        </div>
      </Provider>
    );
  }
}

export default App;
